package com.yc.chaoshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author xz
 * @since 2022-08-04
 */
@TableName("pms_fenlei2")
public class PmsFenlei2 implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableField(exist = false)
    private List<PmsFenlei2> fenlei2s;

    public List<PmsFenlei2> getFenlei2s() {
        return fenlei2s;
    }

    public void setFenlei2s(List<PmsFenlei2> fenlei2s) {
        this.fenlei2s = fenlei2s;
    }
    @TableField(exist = false)
    private List<PmsFenlei3> fenlei3s;
    public List<PmsFenlei3> getFenlei3s() {
        return fenlei3s;
    }

    public void setFenlei3s(List<PmsFenlei3> fenlei3s) {
        this.fenlei3s = fenlei3s;
    }
      /**
     * 二级id
     */
      @TableId(value = "bid", type = IdType.AUTO)
        private Integer bid;

      /**
     * 一级id
     */
      private Integer aid;

      /**
     * 名字
     */
      private String bname;

      /**
     * 是否显示
     */
      private Integer display;

      /**
     * 分类描述
     */
      private String des;

    
    public Integer getBid() {
        return bid;
    }

      public void setBid(Integer bid) {
          this.bid = bid;
      }
    
    public Integer getAid() {
        return aid;
    }

      public void setAid(Integer aid) {
          this.aid = aid;
      }
    
    public String getBname() {
        return bname;
    }

      public void setBname(String bname) {
          this.bname = bname;
      }
    
    public Integer getDisplay() {
        return display;
    }

      public void setDisplay(Integer display) {
          this.display = display;
      }
    
    public String getDes() {
        return des;
    }

      public void setDes(String des) {
          this.des = des;
      }

    @Override
    public String toString() {
        return "PmsFenlei2{" +
              "bid=" + bid +
                  ", aid=" + aid +
                  ", bname=" + bname +
                  ", display=" + display +
                  ", des=" + des +
              "}";
    }
}
